<template>
  <div class="home-head">
    <van-icon name="icon04" @click="$router.push('/cate')" class-prefix="icon" size="24"/>
    <div class="logo-wrap">
      <img src="../../../assets/imgs/logo.png" alt="">
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.home-head{
  height: 46px;
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  left:0;
  top:0;
  z-index: 100;
  background-color: #fff;
  .icon{
    margin: 0 10px;
  }
  .logo-wrap{
    flex:1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    img{
      width: 4rem;
    }
  }
}
</style>
